package com.jijuxie.house.service;

import java.util.List;

import com.jijuxie.house.domain.HouseFacility;

public interface IHouseFacilityService {

    /**
     * 批量添加配套设施
     */
    void batchAddFacilities(List<HouseFacility> facilities);

    /**
     * 获取房源的配套设施列表
     */
    List<HouseFacility> selectFacilityList(Long houseId);

    /**
     * 根据类型获取配套设施
     */
    List<HouseFacility> selectFacilityListByType(Long houseId, String type);

    /**
     * 获取指定距离内的配套设施
     */
    List<HouseFacility> selectNearbyFacilities(Long houseId, Integer distance);
}
